import os

base_dir = os.path.dirname(__file__)

settings = {

    "debug": True,
    "static_path": os.path.join(base_dir, 'static'),
    'static_url_prefix': "/static/",  # 设置静态文件路径前缀
    'template_path': os.path.join(base_dir, 'templates'),
    'gzip': True,
    'db': {
        "host": "127.0.0.1",
        "port": 3306,
        "user": "root",
        "password": "",
        "db": "messages",
        "charset": "utf8"
    }

}
